TABLE.GET_INDEX_EXTENSION Function

Syntax

Extension as C = Get_Index_Extension(C Table_Extension)

Arguments

Extension

The filename extension that would be used for the table's index file.

Table_Extension

The three character file type extension associated with any Alpha Anywhere table.

Description

Returns the Index file extension that would be associated with the passed in Table extension.

Discussion

The TABLE.GET_INDEX_EXTENSION() method returns the extension of the associated index file for a particular Alpha Anywhere object type.

Example

? table.get_index_extension(".dbf") -> ".cdx"
? table.get_index_extension(".ddd") -> ".ddx"
? table.get_index_extension(".alb") -> ".alx"
? table.get_index_extension(".set") -> ".sex"
? ptr.get_index_extension("dbf")
= ".CDX"
? ptr.get_index_extension("set")
= ".SEX"
? ptr.get_index_extension("ddd")
= ".DDX"

See Also